package com.icinema.client;

import java.util.List;

import com.google.gwt.user.client.rpc.RemoteService;
import com.google.gwt.user.client.rpc.RemoteServiceRelativePath;
import com.icinema.vo.Cinema;
import com.icinema.vo.CinemaSubscription;
import com.icinema.vo.CinemaSubscriptionDetail;

@RemoteServiceRelativePath("cinema")
public interface CinemaService extends RemoteService {
	String addCinema(Cinema cinema);
	List<Cinema> getCinemas();
	void delete(String key);
	Message deleteCinema(String key);
	void addCinemaSubscription(CinemaSubscription subScription);
	List<CinemaSubscriptionDetail> getCinemaSubscriptions();
}
